package org.lc.platform.base.constant;

/**
 * 常用变量
 */
public interface CommonConstant {


    /* 存储失效时间*/
    long valid_time =  (12 * 60 * 60);
    String LOGGER_LOG = "LOGGER_LOG";


    String LOGIN_ID = "LOGIN_ID";
    /**
     * {@code 500 Server Error} (HTTP/1.0 - RFC 1945)
     */
    Integer SC_INTERNAL_SERVER_ERROR_500 = 500;
    /**
     * {@code 200 OK} (HTTP/1.0 - RFC 1945)
     */
    Integer SC_OK_200 = 200;

    /**
     * 访问权限认证未通过 510
     */
    Integer SC_LMIXC_NO_AUTH = 510;
    /**
     * String 类型的空值
     */
    String STRING_NULL = "null";

    String AUTH_BEARER = "bearer ";

    String AUTHORIZATION = "Authorization";

    String RESULT_KEY = "result";

    String ACCESS_TOKEN = "access_token";

    String REFRESH_TOKEN = "refresh_token";
    String REFRESH = "refresh";
    String USER_INFO = "user";
    /**
     * POST请求
     */
    String HTTP_POST = "POST";

    /**
     * PUT请求
     */
    String HTTP_PUT = "PUT";

    /**
     * PATCH请求
     */
    String HTTP_PATCH = "PATCH";
}
